import axios from './axios';
type User = { password: string; username: string }
export const login = (trip: User): Promise<User> => {
    return axios({
        method: "POST",
        url: '/api/login',
        data: trip
    })
}

